class ClassDemo:
    def __init__(self):
        self.name = 'ClassDemo'
        self.age = 18
        self.sex = 'male'

    def print_name(self):
        print(self.name)